package com.ruoyi.web.enums;

import lombok.Getter;

/**
 * @author tianl
 * @date 2023/4/11
 * @description:
 */
@Getter
public enum HttpMessageEnum {
    SUCCESS("成功", 200),
    NO_AUTH("登录信息过期", 401),
    ERROR("错误", 500);
    private String message;
    private Integer code;

    HttpMessageEnum(String message, Integer code) {
        this.message = message;
        this.code = code;
    }
}
